package channel

import (
	"gitee.com/liuxuezhan/ar-platform/assets-rpc/internal/dao/schema"
)

const TableNameUserChannelPix = "user_channel_pix"

// UserChannelPix 用户通道【pix】
type UserChannelPix struct {
	schema.Model
	UserId     int64  `gorm:"type:bigint;not null;comment:用户ID"`
	WalletType int32  `gorm:"type:tinyint;not null;comment:0.手机号 1.邮箱 3.CPF 4.随机代码"`
	UserName   string `gorm:"type:varchar(255);not null;comment:用户名字"`
	Cpf        string `gorm:"type:varchar(32);not null;comment:巴西个人纳税人注册号"`
	Account    string `gorm:"type:varchar(32);not null;comment:用户账户"`
}

func (*UserChannelPix) TableName() string {
	return TableNameUserChannelPix
}
